package com.khyr.service;

import com.khyr.entity.CareHistory;
import com.khyr.entity.CareOrderItem;
import com.khyr.entity.HisCareHistory;
import com.khyr.entity.HisRegistration;
import com.khyr.vo.GetPatientAllMessageByPatientIdDto;
import com.khyr.vo.HisCareHVo;
import com.khyr.vo.R;
import com.khyr.vo.SaveCareOrderItemVo;

import java.util.List;

public interface NewCareService {
    R<List<HisRegistration>> queryToBeSeenRegistration(Long uId,String scheudlingType);

    R<List<HisRegistration>> queryVisitingRegistration(String scheudlingType, Long uId);

    R<List<HisRegistration>> queryVisitCompletedRegistration(String scheudlingType, Long uId);

    R<String> receivePatient(String regId, Long uId, String name);

    R<GetPatientAllMessageByPatientIdDto> getPatientAllMessageByPatientId(String patientId);

    R<HisCareHistory> getCareHistoryByRegId(String regId);

    R<HisCareHistory> saveCareHistory(HisCareHVo careHistory, Long uId);

    R<List<SaveCareOrderItemVo>> queryCareOrdersByChId(String chId);

    R<SaveCareOrderItemVo> saveCareOrderItem(SaveCareOrderItemVo data, Long uId);

    R<String> deleteCareOrderItemById(String itemId);

    R<String> visitComplete(String regId);
}
